Before you do anything, you should read this URL primer to familiarize yourself with URLs. You will want to pay attention to the section referring to HTTP URLs.
http://servername:port/path
The server translates path as follows:
To do this using NCSA httpd, create a DirectoryIndex file in the DocumentRoot directory.
DocumentRoot /www/htdocs DirectoryIndex index.htm Alias /zftp z:/ftp/pubAn HTML document references http://www.foo.bar/policy/Overview.htm. The server finds no Alias virtual names in path, so it returns the file /www/htdocs/policy/Overview.htm.
Someone references the server's home page as http://www.foo.bar/. The server finds no virtual names, so it returns /www/htdocs/index.htm. If there is no index.htm, the server will generate a directory index on the fly. You really should have a home page on your server, or it will look like a gopher or FTP server when seen by a browser.
Another HTML document references http://www.foo.bar/zftp/README.txt. The server finds the Alias /zftp at the beginning of path, and returns the file z:/ftp/pub/README.txt.
Return to administration overview